package org.hxd.admin.user.service;

import org.hxd.pojo.ProductList;
import org.hxd.pojo.Products;
import org.hxd.pojo.User;
import org.hxd.utils.PageModel;

import java.util.List;

public interface AdminUserService {
    User yLoginuser(User user);

    List<Products> findTJproducts(Products products, Double minprice, Double maxprice,PageModel pageModel);

    int addProducts(Products products);

    int deleteProduct(String id);

    int findProductsCount(Products products, Double minprice, Double maxprice);

    int updateProduct(Products products);

    List<ProductList> finProductSalList(String year, String month);
}
